package com.jin.六大设计原则.单一原则.违背;


//违背单一原则
public class VideoUserService {
    public void serveGrade(String userType){
        if ("VIP会员".equals(userType)){
            System.out.println("蓝光1080p,跳过广告");
        }else if ("普通会员".equals(userType)){
            System.out.println("高清720P,不能跳过广告");
        }else if ("访客用户".equals(userType)){
            System.out.println("420p,不能跳过广告");
        }
    }
}



